package com.site.blog.my.core.service.impl;

import com.site.blog.my.core.dao.BlogCategoryMapper;
import com.site.blog.my.core.service.CategoryService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author yz
 * @ClassNameCategoryServiceImpl
 * @create 2021-07-06 9:55
 * @Version 1.0
 */
@Service
public class CategoryServiceImpl implements CategoryService {
    @Autowired
    private BlogCategoryMapper blogCategoryMapper;
    @Override
    public int getTotalCategory() {
        blogCategoryMapper.getTotalCategories(null);
        return 0;
    }
}
